﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;

namespace WcfCloudMusic.DataContracts
{
    [DataContract(Name = "Playlist", Namespace = "WcfCloudMusic.DataContracts.DCPlaylist")]
    public class DCPlaylist
    {
        /// <summary>
        /// Gets or sets the identifier.
        /// </summary>
        /// <value>
        /// The identifier.
        /// </value>
        [DataMember]
        public int Id { get; set; }

        /// <summary>
        /// Gets or sets the user identifier.
        /// </summary>
        /// <value>
        /// The user identifier.
        /// </value>
        [DataMember]
        public int UserId { get; set; }

        /// <summary>
        /// Gets or sets the name.
        /// </summary>
        /// <value>
        /// The name.
        /// </value>
        [DataMember]
        public string Name { get; set; }

        /// <summary>
        /// Gets or sets the date created.
        /// </summary>
        /// <value>
        /// The date created.
        /// </value>
        [DataMember]
        public string DateCreated { get; set; }

        /// <summary>
        /// Gets or sets the last played.
        /// </summary>
        /// <value>
        /// The last played.
        /// </value>
        [DataMember]
        public string LastPlayed { get; set; }

    }
}